<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="utf-8">
        <title><?= $tpl[ 'titulo' ] ?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="assets/css/bootstrap.min.css" rel="stylesheet">
        <link href="assets/css/estilo.css" rel="stylesheet">
        <!--[if lt IE 9]>
       <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
     <![endif]-->
    </head>

    <body>

        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">           
                    <a class="brand" href="#">SisCor - Sistema Correspondentes FeA</a>

                    <div class="btn-group pull-right">
                        <a href="#" class="btn dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-user"></i>
                            <?= $_SESSION[ "usuarionome" ] ?> <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="index.php?m=logout">Sair do Sistema</a></li>
                        </ul>
                    </div>

                </div>
            </div>
        </div>


        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span2">
                  <div class="well">
                        <ul class="nav nav-list">
                            <li class="nav-header">Menu de Navegação</li>
                            <li  class="active"><a href="#"><i class="icon-bell"></i> Inicial</a></li>
                            <li><a href="#"><i class="icon-book"></i> Páginas</a></li>
                            <li><a href="#"><i class="icon-print"></i> Relatórios</a></li>
                            <li class="nav-header">Configuração</li>
                            <li> <a href="index.php?m=admin&c=funcao">Função</a></li>
                            <li class="nav-header">Acesso</li>
                            <li> <a href="index.php?m=admin&c=usuario">Usuário</a></li>                      
                        </ul>
                    </div>  
                </div>
                <div class="span10">
                    <div class="row-fluid">
                        <div class="span12">
                            <?php include($tpl[ 'pagina' ] . ".tpl.php"); ?>
                        </div>
                    </div>
                </div>    
            </div>

            <div class="row-fluid">
                <div class="span12">
                    <div class="well">
                        <p align="center">
                            <strong>2014 - Fragata e Antunes Advogados</strong>
                        </p>
                    </div>
                </div>
            </div>
        </div>

    </body>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
    <script src="assets/js/bootstrap.min.js"></script>
</html>